const businessModel = require('../models/businessModel')

const getAllBusinesses = async () => {
  return await businessModel.getAllBusinesses()
}

const createBusiness = async (params) => {
  return await businessModel.createBusiness(params)
}

module.exports = {
  getAllBusinesses,
  createBusiness
}
